package haw.pr2.A3.implementations;

import haw.pr2.A3.interfaces.BoundingBox;
import haw.pr2.A3.interfaces.Location;
import haw.pr2.A3.interfaces.Mass;
import haw.pr2.A3.interfaces.Pallet;
import haw.pr2.A3.interfaces.Stowage;
import haw.pr2.A3.interfaces.StowageLocation;
import java.util.Collection;
import static haw.pr2.A3.implementations.UtilityclassValues.*;

/**
 *
 * @author Fabian Heidorn, Alexander Kaack
 */
public class NullPallet extends AbstractPallet{

    private static NullPallet singleton = new NullPallet();
    
    private NullPallet() {
    id = uniqueId(-1);
    mass = ZERO_MASS;
    bBox = UtilityclassValues.boundingBox(PAL_LENGTH, PAL_WIDTH, PAL_HEIGTH);
    
    }
    
    public static Pallet singleton() {
        return singleton;
    }
    
    @Override
    public boolean isFree() {
        return true;
    }

    @Override
    public boolean isBlocked() {
        return false;
    }

    @Override
    public boolean isOccupied() {
        return false;
    }


    
}
